
#ifndef __LOADLINE_H
#define __LOADLINE_H

#include  "cfg_main.h"

#define LOADLINE_MAIN_USER_DAYS         31
#define LOADLINE_DAYS                   11

void SetMainUserSavePt(INT16U *pn);
BOOL IsLineFreezeLastSaveDt(INT8U mp, INT32U s);
void SaveLoadLine(INT16U mp, DateTimeType *dt, GdClassBDateFreezeType *sampleDataBuff, INT8U wrMode);
INT8U GetDataFreezeDensity(void);
INT8U ReadLoadLineData(INT8U mp, INT8U fn, INT8U *ptr, INT8U *pBuf, INT16U bufSize, INT16U *pSize);
INT8U ReadLoadLineDataB(INT8U mp, INT8U fn, INT32U second, INT8U m, INT8U n, INT8U *buff, INT16U buffSize, INT16U *retSize);
INT16U GetLLPointTotalSize(void);
void SaveMainUserLoadLine
    (INT16U mp, DateTimeType *dt, GdClassBDateFreezeType *sampleDataBuff, INT8U wrMode);

#endif
